import type { DictDataPageReqVO } from "./types";
import { defHttp } from "@/utils/http";

// 查询字典数据（精简)列表
export function listSimpleDictData() {
	return defHttp.get({ url: "/system/dict-data/list-all-simple" });
}

// 查询字典数据列表
export function getDictDataPage(params: DictDataPageReqVO) {
	return defHttp.get({ url: "/system/dict-data/page", params });
}
